<%@ page language="java" contentType="text/html; charset=UTF-8" import="java.util.*"
         pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html style="overflow-x: hidden">
<head>
    <title>登录页面</title>
    <link rel="stylesheet" href="/static/css/login.css"/>
    <link rel="stylesheet" href="/static/css/switch.css"/>
    <link rel="stylesheet" href="/static/css/idms.css"/>
    <link rel="stylesheet" href="/static/css/dialog.css"/>
    <link rel="stylesheet" href="/static/css/SH.css"/>
    <link rel="stylesheet" href="/static/css/table.css"/>
    <link rel="stylesheet" href="/static/css/tips.css"/>
    <link rel="stylesheet" href="/static/css/menu.css">
    <link rel="stylesheet" href="/static/css/body.css">
    <link rel="stylesheet" href="/static/css/top.css">
    <link rel="stylesheet" href="/static/fonts/iconfont.css">
    <script type="text/javascript" src="/static/js/jquery-1.11.1.min.js"></script>

</head>
<body>

<div id="login" class="login ">
    <!-- 信息盒 -->
    <div class="tipsBox">

    </div>

    <div id="title" class="login_title">
        <span>登录</span>
    </div>

    <div id="content" class="login_content">
        <div>
            <div class="username_enter">
                <i class="iconfont">&#xe716;</i>
                <input type="text" placeholder="请输入账号" id="username" autocomplete="off"/><br/>
            </div>
            <div class="password_enter">
                <i class="iconfont">&#xe614;</i>
                <input type="text" placeholder="请输入密码" id="password" autocomplete="off"/><br/>
            </div>
            <div class="verifycode_enter">
                <i class="iconfont">&#xe65a;</i>
                <input type="text" placeholder="请输入验证码" id="verifyCode" autocomplete="off"/>
                <img src="/verifyCode" id="vrCodeImg"/><br/>
            </div>
            <span class="forgetPassword">忘记密码?</span>

            <div id="loginBtn" disabled="true" onclick="submitform()" class="loginBtn">
                    <i class="iconfont " id="loginCycle">&#xeb80;</i>
                     <span>登录</span></div>
        </div>
    </div>

</div>
</body>
<script type="text/javascript" src="/static/js/login.js"></script>
<script type="text/javascript" src="/static/js/sweetalert.min.js"></script>
<script type="text/javascript" src="/static/js/idms.js"></script>
<script type="text/javascript">

    setting();

    if(${ data ne null and data.code eq 502} ){
    swal("${data.msg}","错误请求: "+ "${data.code}","error");
    }
    initialize_before();
</script>
</html>

